package com.xuecheng.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author luhao
 * @ClassName AddCourseTeacherDto.java
 * @Description 添加课程老师请求Dto
 * @createTime 2023/5/30
 */
@NoArgsConstructor
@Data
@ApiModel(description = "添加课程老师")
public class AddCourseTeacherDto {
    @ApiModelProperty(value = "课程老师id")
    private Integer id;
    @ApiModelProperty(value = "课程Id",required = true)
    @NotNull(message = "课程Id不能为空")
    private Integer courseId;

    @ApiModelProperty(value = "教师名称",required = true)
    @NotEmpty(message = "教师名称不能为空")
    private String teacherName;

    @ApiModelProperty(value = "教师职位",required = true)
    @NotEmpty(message = "教师职位不能为空")
    private String position;

    @ApiModelProperty(value = "介绍",required = true)
    private String introduction;
}
